package br.usp.pcs.acs.negocios.dao.interfaces;

import java.util.ArrayList;

import br.usp.pcs.acs.negocios.dto.PortaoDto;


public interface PortaoDaoInterface 
{
	static String CRUD_C = "INSERT INTO portao VALUES (?,?)";
	static String CRUD_R = "SELECT * FROM portao";
	static String CRUD_U = "UPDATE portao SET nome=? WHERE id=?";
	static String CRUD_D = "DELETE FROM portao WHERE id = ?";
	
	public void insert(PortaoDto dto);
	public void remove(int i);
	public void edit(PortaoDto dto);
	public ArrayList<PortaoDto> findAll();
	public PortaoDto findById(int id);
}
